separator tool item: Make final
authorMatthias Clasen <mclasen@redhat.com>
Mon, 27 May 2019 03:01:34 +0000 (23:01 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 27 May 2019 03:01:34 +0000 (23:01 -0400)
gtk/gtkseparatortoolitem.c
gtk/gtkseparatortoolitem.h

index 86cb818fd2bc59256694e5587b5096d9706068ce..efbec418ab7199b054afefe74aac4c44e526d339 100644 (file)
  * GtkSeparatorToolItem has a single CSS node with name separator.
  */
 
+typedef struct _GtkSeparatorToolItemClass   GtkSeparatorToolItemClass;
+
+struct _GtkSeparatorToolItem
+{
+  GtkToolItem parent_instance;
+};
+
+struct _GtkSeparatorToolItemClass
+{
+  GtkToolItemClass parent_class;
+};
+
 #define MENU_ID "gtk-separator-tool-item-menu-id"
 
 enum {
index 2d0eac535dac81d05a667c3d710308bda4bb702c..3e85eb8b2b8f0b3df8f8adbe8458c98f96ff4c7c 100644 (file)
@@ -30,35 +30,9 @@ G_BEGIN_DECLS
 
 #define GTK_TYPE_SEPARATOR_TOOL_ITEM            (gtk_separator_tool_item_get_type ())
 #define GTK_SEPARATOR_TOOL_ITEM(obj)            (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_SEPARATOR_TOOL_ITEM, GtkSeparatorToolItem))
-#define GTK_SEPARATOR_TOOL_ITEM_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_SEPARATOR_TOOL_ITEM, GtkSeparatorToolItemClass))
 #define GTK_IS_SEPARATOR_TOOL_ITEM(obj)         (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_SEPARATOR_TOOL_ITEM))
-#define GTK_IS_SEPARATOR_TOOL_ITEM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_SEPARATOR_TOOL_ITEM))
-#define GTK_SEPARATOR_TOOL_ITEM_GET_CLASS(obj)  (G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_SEPARATOR_TOOL_ITEM, GtkSeparatorToolItemClass))
 
 typedef struct _GtkSeparatorToolItem        GtkSeparatorToolItem;
-typedef struct _GtkSeparatorToolItemClass   GtkSeparatorToolItemClass;
-
-struct _GtkSeparatorToolItem
-{
-  GtkToolItem parent_instance;
-};
-
-/**
- * GtkSeparatorToolItemClass:
- * @parent_class: The parent class.
- */
-struct _GtkSeparatorToolItemClass
-{
-  GtkToolItemClass parent_class;
-
-  /*< private >*/
-
-  /* Padding for future expansion */
-  void (* _gtk_reserved1) (void);
-  void (* _gtk_reserved2) (void);
-  void (* _gtk_reserved3) (void);
-  void (* _gtk_reserved4) (void);
-};
 
 GDK_AVAILABLE_IN_ALL
 GType        gtk_separator_tool_item_get_type (void) G_GNUC_CONST;